﻿using Microsoft.EntityFrameworkCore;
using Model;
using Web.Model;

namespace DAL
{
    public class MyDbContext : DbContext
    {
        public MyDbContext(DbContextOptions options) : base(options)
        {
        }
        public DbSet<Member> Members { get; set; }
        public DbSet<House> Houses { get; set; }
        public DbSet<Room> Rooms { get; set; }


        public DbSet<HouseClass>  HouseClasses { get; set; }
        public DbSet<HouseType> HouseTypes { get; set; }
        public DbSet<RoomNumClass> RoomNumClasses { get; set; }


    }
}
